# include "PixelShaderBindAble.h"
# include "d3d11.h"
# include "PixelShader.h"

PixelShaderBindAble::PixelShaderBindAble(ID3D11Device* _device)
{
	_device->CreatePixelShader(g_main_PS, sizeof(g_main_PS), nullptr, this->m_pixelShader.GetAddressOf());
}

void PixelShaderBindAble::bind(ID3D11DeviceContext* _context)
{
	_context->PSSetShader(this->m_pixelShader.Get(), 0, 0);
}

PixelShaderBindAble::~PixelShaderBindAble()
{

}
